/*
 * This file is part of JSTUN. 
 * 
 * Copyright (c) 2005 Thomas King <king@t-king.de> - All rights
 * reserved.
 * 
 * This software is licensed under either the GNU Public License (GPL),
 * or the Apache 2.0 license. Copies of both license agreements are
 * included in this distribution.
 */

package com.jstun.core.attribute;

/**
 * 무결성 메시지 생성 클래스 
 *
 */
public class MessageIntegrity extends MessageAttribute {
	/**
	 * default 생성자
	 */
	public MessageIntegrity() {
		super(MessageAttribute.MessageAttributeType.MessageIntegrity);
	}
	
	/**
	 * byte[0] 반환
	 */
	public byte[] getBytes() {
		return new byte[0];
	}
	
	/**
	 * 인자값으로 byte[] data 값을 받지만 
	 * 아무작업 없이 MessageIntegrity() 객체 반환
	 * @param data
	 * @return
	 */
	public static MessageIntegrity parse(byte[] data) {
		return new MessageIntegrity();
	}
}
